import React from 'react'

import {Title,BlackForm} from '../../components/black'

const Blank =function(props){
    // console.log(props)
    return (
        <>
        <Title>
                <dt>违规用户</dt>
                <dt>处罚方式</dt>
                <dt>拉黑时间</dt>
        </Title>
        {
            props.list.map((value)=>{
                return(
                    <BlackForm key={value.name}>
                        <li>{value.name}</li>
                        <li>{value.reason}</li>
                        <li>{value.time}</li>
                    </BlackForm>
                )
            })
        }
        
        </>
    )
}

export default Blank
